package com.hzvictory.hotel_system.pojo.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hzvictory.hotel_system.common.core.domain.BaseEntity;

/**
 * 评价对象 evaluation
 *
 * @author ruoyi
 * @date 2025-07-22
 */
public class Evaluation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    private Long userId;

    /** 订单类型：1房间，2座位，3菜品 */
    private Long orderType;

    /** 订单ID */

    private Long orderId;

    /** 评分（1-5） */

    private Long score;

    /** 评价内容 */

    private String content;

    /** 状态：1显示，0隐藏 */

    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setOrderType(Long orderType)
    {
        this.orderType = orderType;
    }

    public Long getOrderType()
    {
        return orderType;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }

    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("orderType", getOrderType())
                .append("orderId", getOrderId())
                .append("score", getScore())
                .append("content", getContent())
                .append("createTime", getCreateTime())
                .append("status", getStatus())
                .toString();
    }
}
